package com.example.permission.myjbm.utils;

/**
 * Created by JBMhaier on 2017/3/21.
 */

import android.content.Context;
import android.telephony.TelephonyManager;

import static android.content.Context.TELEPHONY_SERVICE;

/**
 * 获取手机唯一标识
 */
public class Identifying {
    public static String getFLG(Context c) {
    TelephonyManager TelephonyMgr = (TelephonyManager) c.getSystemService(TELEPHONY_SERVICE);
    String szImei = TelephonyMgr.getDeviceId();
        return szImei;
}
}
